import _startCase from 'lodash/startCase'
import { List } from '@shopstack/cs-admin-lib';
import { useRouter } from "next/router"

const ListPage = () => {

  const router = useRouter()

  return (
    <List
      title={''}
      entity={router.query.entity as string}
      layout={router.query.layout as string}
      customPathname={'/entity/[entity]/[layout]/[id]'}
    />
  )
}

export default ListPage